@layout("/common/_form.html",{js:["/assets/school/studentGuardian/studentGuardian_add.js"]}){

<form class="layui-form" id="studentGuardianForm" lay-filter="studentGuardianForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <input type="hidden" id="studentId" value="${studentId}" name="studentId">
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">学生id<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="studentId" name="studentId" placeholder="请输入学生id" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">监护人姓名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入监护人姓名" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">监护人电话<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="tel" name="tel" placeholder="请输入监护人电话" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">监护人关系<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="releation" id="releation" lay-verify="required" required>
                                <option value="">请选择监护人关系</option>
                                @for(item in JHRGX){
                                <option value="${item.code}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="releation" name="releation" placeholder="请输入监护人关系" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}